<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>for循环语句</title>
</head>
<body>

<script>
    cars=["BMW","Volvo","Saab","Ford"];
    var i=2,len=cars.length;
    for (; i<len; i++){
        document.write(cars[i] + "<br>");
    }
</script>
</body>

</html>

